DataConnector | ComponentOne
C1.AdoNet.Json Assembly / C1.DataConnector.AdoNet Namespace / C1ConnectionBase<TConnectionImpl> Class / GetSchema Method / GetSchema(String,String[]) Method
Specifies the name of the schema to return.
Specifies a set of restriction values for the requested schema.

In This Topic
    GetSchema(String,String[]) Method
    In This Topic
    Returns schema information for the data source of this C1ConnectionBase using the specified string for the schema name and the specified string array for the restriction values.
    Syntax
    'Declaration
     
    Public Overloads Overridable Function GetSchema( _
       ByVal collectionName As String, _
       ByVal restrictionValues() As String _
    ) As DataTable
    public virtual DataTable GetSchema( 
       string collectionName,
       string[] restrictionValues
    )

    Parameters

    collectionName
    Specifies the name of the schema to return.
    restrictionValues
    Specifies a set of restriction values for the requested schema.

    Return Value

    A System.Data.DataTable that contains schema information.
    See Also